package com.azdebugit.trancation.test.inter;

import java.lang.annotation.*;

/**
 * @author ConverterRegitry
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Compensate {
    /**
     * 异常类型,用于补偿指定异常的数据，默认值Exception
     */
    Class<?>[] exceptionType() default Exception.class;

}
//注解